﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.ZJK
{
    /// <summary>
    /// 专家附件资料
    /// </summary>
    [Serializable]
    public class ZJ_expert_attachment : Entity
    {
        #region 数据表名称
        public static readonly string TableName = "zj_expert_attachment";
        #endregion

        #region 数据表字段结构
        public struct Columns
        {
            /// <summary>
            /// 附件类型名称
            /// </summary>
            public static readonly string attachment_type = @"attachment_type";

            /// <summary>
            /// 专家ID
            /// </summary>
            public static readonly string expert_id = @"expert_id";

            /// <summary>
            /// 附件ID
            /// </summary>
            public static readonly string attachment_id = @"attachment_id";
        }
        #endregion

        #region 字段
        /// <summary>
        /// 专家附件类型名称，例如：身份证、毕业证等
        /// </summary>
        public virtual string attachment_type { get; set; }

        /// <summary>
        /// 专家
        /// </summary>
        public virtual ZJ_expert expert { get; set; }

        /// <summary>
        /// 附件文件
        /// </summary>
        public virtual ywxt.t_attachment attachment { get; set; }
        #endregion
    }
}
